package cn.wolfcode.luowowo.search.service;

import cn.wolfcode.luowowo.search.domain.DestinationTemplate;
import cn.wolfcode.luowowo.search.domain.RouteTemplate;
import cn.wolfcode.luowowo.search.query.DestintionQuery;
import cn.wolfcode.luowowo.search.vo.DestVo;
import cn.wolfcode.luowowo.search.vo.ThemeVo;
import org.springframework.data.domain.Page;

import java.util.List;
import java.util.Map;

public interface IRouteSearchService {
    void saveOrUpdate(RouteTemplate routeTemplate);

    Map<String,List<ThemeVo>> selectThemeSixteenForTheme();

    Map<String,List<DestinationTemplate>> selectBySevenMonth();

    Map<Long,List<ThemeVo>> selectAllTheme();

    Page<RouteTemplate> selectDest(DestintionQuery qo);

    List<RouteTemplate> selectByDestId(Long destId);
}
